﻿<%@ page language="java" import="com.jkxt.model.*"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>个人健康档案系统</title>
    <link rel="stylesheet" href="<%=basePath %>css/index.css"/>
</head>
<body>
<!-- 全站公用主导航  -->
<div class="sw-hd">
  <div class="sw-top">
    <div class="layout">
      <div class="sw-top-logo">
        <h1 class="seo">个人健康系统</h1>
        <a href="<%=basePath%>index/list.do">个人健康系统</a> </div>
      <div class="sw-top-slogan"><a href="#"><img src=""></a></div>
				<div class="sw-top-se">
					<form name="formsearch" action="<%=basePath%>index/list.do" id="global_search_form" method="post">
						 <input name="title"
							class="sw-input" autocomplete="off" placeholder="档案号搜索："
							maxlength="60"> <input type="submit" class="sw-input-btn"
							value="搜索">
					</form>
				</div>
    </div>
  </div>
  <div class="sw-nav">
    <div class="layout">
      <div class="sw-nav fleft">
        <ul>
          <li><a href="<%=basePath%>index/list.do">健康信息</a></li>
          <li><a href="<%=basePath%>index/record.do">记录健康信息</a></li>
        </ul>
      </div>
    </div>
  </div>
</div>
<!--全站公用主导航 END -->


<div class="sw-main clearfix">
  <!-- 面包屑 START -->
  <!-- 面包屑 START -->
<div class="sw-crumb clearfix mb15">
  <ul class="fleft">
    <li><em>当前位置：</em> <a href='<%=basePath%>index/toUserDetails.do'>个人信息</a></li>
  </ul>
</div>
<!-- 面包屑 END -->
  <!-- 面包屑 END -->
  <!-- 左侧容器 START -->
  <div class="sw-w960 fleft">
    <div class="sw-modBox sw-excerpt">
     <form action="<%=basePath%>index/updateUserById.do" method="post">
       <input type="hidden" name="id" value="${userNew.id}" />
       <span style=" color: red;font-size: 12px;">${message}</span><br/>
       <span>用户名： ${userNew.name}</span><br/>
       <span>真实姓名：</span><input class="intro_input" type="text" name="realName" value="${userNew.realName}"/><br/>
       <span>性别：</span>
       <input type="radio" name="sex" ${userNew.sex == '男' ? 'checked' :''} value="男"/>男    <input type="radio" name="sex" ${userNew.sex == '女' ? 'checked' :''} value="女"/>女<br/>
       <span>年龄：</span><input class="intro_input" type="text" name="age" value="${userNew.age}"/><br/>
       <span>邮箱：</span><input class="intro_input" type="text" name="email" value="${userNew.email}"/><br/>
       <span>电话：</span><input class="intro_input" type="text" name="phone" value="${userNew.phone}"/><br/>
       <br/>
       <div class="intro_submit">
         <input type="submit"  value="保存并返回" >
       </div>
       <br/>
      </form>
    </div>
  </div>
</div>
<!-- 页尾 START -->
<div class="f_menu clearfix"></div>
<div class="copright">
  <a target='_blank' href='http://www.jyzhz.com/'>惠州市金燕子科技有限公司</a>版权所有
</div>
</body>
</html>